package com.car.json;

import java.util.List;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

public class BitAutoBBSURLMain {
	public static void main(String[] args) {
		BitAutoBBSUrlSpell bit = new BitAutoBBSUrlSpell();
		ExecutorService fixedThreadPool = Executors.newFixedThreadPool(30);
		List<String> list = bit.geturl();
		for (String s : list) {
			fixedThreadPool.execute(new BitAutoBBSUrlCrawl(bit, s));
		}
	}
}
